<if $Think.CONTROLLER_NAME == 'Cellar'>
<?php cookie('m','Cellar'); ?>	
<elseif $Think.CONTROLLER_NAME == 'Destine'>
<?php cookie('m','Destine'); ?>
</elseif>
<elseif $Think.CONTROLLER_NAME == 'Goods' || $Think.CONTROLLER_NAME == 'Index' || $Think.CONTROLLER_NAME == 'Activity'>
<?php cookie('m','Goods'); ?>
</elseif>
</if>
<if I('act') == 'mine' || empty(cookie('m')) || $Think.CONTROLLER_NAME == 'User'>
<nav class="bom_nav fs_xl">
	<a class="" href="{:U('User/index')}">
		<span class="mui-icon iconfont icon-shouye fs_xi"></span>
		<span class="mui-tab-label">首页</span>
	</a>
	<a class="" href="{:U('Mobile/Cellar/index')}">
		<span class="mui-icon iconfont icon-jiu fs_xi" style="font-size: 18px;"></span>
		<span class="mui-tab-label">封坛窖藏</span>
	</a>
	<a class="" href="{:U('Mobile/Destine/index')}">
		<span class="mui-icon iconfont icon-gexingdingzhi fs_xi"></span>
		<span class="mui-tab-label">个性定制</span>
	</a>
	<a class="" href="{:U('Mobile/Index/index')}">
		<span class="mui-icon iconfont icon-shiliangzhinengduixiang101 fs_xi"></span>
		<span class="mui-tab-label">原产地特产</span>
	</a>
</nav>
<else>
	<nav class="bom_nav fs_xl">
	<a class="" href="{:U(cookie('m').'/index')}">
		<span class="mui-icon iconfont icon-shouye fs_xi"></span>
		<span class="mui-tab-label">首页</span>
	</a>
	<a class="" href="{:U(cookie('m').'/categoryList')}">
		<span class="mui-icon iconfont icon-fenlei1 fs_xi"></span>
		<span class="mui-tab-label">分类</span>
	</a>
	<a class="" href="{:U('Discuss/index')}">
		<span class="mui-icon iconfont icon-jiangbei fs_xi" style="font-size: 18px;"></span>
		<span class="mui-tab-label">排名</span>
	</a>
	<a class="" href="{:U('User/index')}">
		<span class="mui-icon iconfont icon-gerenzhongxin fs_xi"></span>
		<span class="mui-tab-label">我的</span>
	</a>
</nav>
</else>
</if>
<if $Think.CONTROLLER_NAME == 'User'>
<else>	
<a class="gwc_xf fs_xl" href="{:U('Cart/cart')}"><img src="__STATIC__/images/gwc021211.png" /></a>
</else>
</if>